package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("like_record")
public class LikeRecord {
    @TableId
    private Integer id;
    
    private Integer userId; // 用户ID
    private String targetType; // 点赞目标类型：POST-帖子，COMMENT-评论
    private Integer targetId; // 点赞目标ID
    private LocalDateTime createTime; // 点赞时间
} 